package com.wdf;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author wdf
 * @create 2019-04-30 16:09
 **/
@RestController
public class MemberController {
    @Value("${server.port}")
    private String serverPort;
    @RequestMapping("/getMember")
    public String getMember() {
        return "this is member，我是会员服务,springcloud2.0版本"+serverPort ;
    }
}
